
import type {DepartmentArr, HospitalDetail, UserInfo} from "@/api/hospital/type.ts";

//定义仓库内部存储数据state的ts类型
export interface DetailState{
    hospitalInfo:HospitalDetail,
    departmentArr:DepartmentArr
}

//用户仓库相关state数据ts类型定义
export interface UserState{
    visible:boolean,    //用于控制登录组件的dialog显示与隐藏
    code:string,    //存储用户的验证码
    userInfo:UserInfo
}
